package messagesvc.response.template;

import cn.ucloud.microsf.mpcsvc.common.enums.DataStatus;
import cn.ucloud.microsf.mpcsvc.common.enums.TemplateType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "模板响应对象")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TemplateResponse {

  /**
   * 模板ID
   */
  @ApiModelProperty(name = "uuid" , notes = "模板ID", example = "xxx")
  private String uuid;

  /**
   * 模板编码
   */
  @ApiModelProperty(name = "code" , notes = "模板编码", example = "xxx")
  private String code;

  /**
   * 模板名称
   */
  @ApiModelProperty(name = "name" , notes = "模板名称", example = "xxx")
  private String name;

  /**
   * 模板类型 1: 站内信 2: 短信 3: 邮件
   */
  @ApiModelProperty(name = "type" , notes = "模板类型 1: 站内信 2: 短信 3: 邮件", example = "1")
  private TemplateType type;

  /**
   * 模板内容
   */
  @ApiModelProperty(name = "content" , notes = "模板内容", example = "xxx")
  private String content;

  /**
   * 状态：0 - 无效 1- 有效
   */
  @ApiModelProperty(name = "status" , notes = "状态：0 - 无效 1- 有效", example = "0")
  private DataStatus status;

  /**
   * 创建时间，时间戳
   */
  @ApiModelProperty(name = "create_time" , notes = "创建时间", example = "16352433333")
  private Long createTime;

  /**
   * 更新时间，时间戳
   */
  @ApiModelProperty(name = "update_time" , notes = "更新时间", example = "16352433333")
  private Long updateTime;
}
